home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
util
/
time
/
NTPSync21.lha
/
NTPSync.doc
< prev
Wrap
Text File
|
1998-01-20
|
4KB
|
109 lines
NTPSync V2.1 (20-Jan-1998)
1. INTRODUCTION
Network Time Protocol (NTP) is a protocol for synchronizing clocks in the
Internet. NTPSync is a program that adjusts your Amiga's clock according
to a specified NTP server. Plese see http://www.eecis.udel.edu/~ntp for
more information on NTP and a list of public NTP servers worldwide.
2. REQUIREMENTS
- an Amiga with a kickstart V37 (2.0) or higher (only tested with 3.0)
- an AmiTCP 4.0 compatible TCP/IP stack (tested with Miami 1.1)
3. USAGE
Please read the Disclaimer-section before installing the program.
The usage of the program is very simple. The first argument is the address
of the NTP server used, and the second argument is your local offset from
UTC. For example to synchronize with nic.funet.fi (stratum 2):
NTPSync nic.funet.fi
For more information run NTPSync without arguments.
4. COMPILING
NTPSync was compiled with SAS/C compiler V6.50 and AmiTCP SDK 4.0 with the
following line:
sc NTPSync lib:net.lib NOICONS UTILLIB NOSTKCHK LINK SCODE SDATA NOCHKABORT STRIPDBG
5. THE AUTHOR
If you find any bugs, have any ideas, have trouble with the program, want
to say your opinion on it etc., don't hesitate to contact me by email or
normal post. You can also get the newest version directly from me. Any
feedback is welcome!
Snail-mail: Heikki Linnakangas (if you can't use E-Mail)
Porvoonkatu 19 A 25
00510 Helsinki
Finland
EMail: Heikki.Linnakangas@iki.fi (the better way)
Check my WWW page at http://www.iki.fi/~hlinnaka for my PGP public key, if
you prefer encrypting your mail.
6. HISTORY
--- V2.1 - fixed the date, was one day behind. I thought I fixed that in
an older version already, but now it should be fixed for real
--- V2.0 - fixed a bug that caused the clock run very fast sometimes
- now tries to use another port if 123 is already in use
- now asks the local.library for the UTC diff if not given
- some other minor changes
- now takes the network delay into account
--- V1.1 - added version information for the 'version' command
- added some integrity checks to the reply
- added support for different ports
- now prints stratum of the server when time is set
- added the COMPILATION-section to the document
- better error handling
- fixed a small bug in receiving the reply
- fixed the version number in the document
- date was set incorrectly
- file lengths were incorrect in the document
--- V1.0 - the initial release
7. DISCLAIMER
THE AUTHOR IS NOT LIABLE IN ANY WAY FOR ANY DAMAGE ARISING OUT OF
THE USE OR INABILITY TO USE THE PROGRAM. USE AT YOUR OWN RISK.
This program is FreeWare. You may use and distribute it unless told to not
do so by the author. You may charge a nominal fee to recover distribution
costs. The distribution fee must not exceed 15 FIM nor 3 USD + distribution
expenses. The distribution of an incomplete or changed package is prohibited.
This program may be included in commercial magazines or archives, if a free
copy is sent to the author, or the author is given free access to the archive.
You may copy and distribute this package, as long as the contents of the
package are not changed in any way. The package must include the following
files:
NTPSync
NTPSync.doc
NTPSync.c
Here are MD5 checksums of some of the files if you want to check their
integrity:
8a2f60097e6218254411cb42b9826ca4 *NTPSync
8d4d47a59d393954edf814ebe2c465a4 NTPSync.c